package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceGoodsCommonExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceGoodsCommonExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(String value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(String value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(String value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(String value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLike(String value) {
            addCriterion("goods_id like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotLike(String value) {
            addCriterion("goods_id not like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<String> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<String> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(String value1, String value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(String value1, String value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeIsNull() {
            addCriterion("goods_code is null");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeIsNotNull() {
            addCriterion("goods_code is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeEqualTo(String value) {
            addCriterion("goods_code =", value, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeNotEqualTo(String value) {
            addCriterion("goods_code <>", value, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeGreaterThan(String value) {
            addCriterion("goods_code >", value, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("goods_code >=", value, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeLessThan(String value) {
            addCriterion("goods_code <", value, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeLessThanOrEqualTo(String value) {
            addCriterion("goods_code <=", value, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeLike(String value) {
            addCriterion("goods_code like", value, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeNotLike(String value) {
            addCriterion("goods_code not like", value, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeIn(List<String> values) {
            addCriterion("goods_code in", values, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeNotIn(List<String> values) {
            addCriterion("goods_code not in", values, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeBetween(String value1, String value2) {
            addCriterion("goods_code between", value1, value2, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsCodeNotBetween(String value1, String value2) {
            addCriterion("goods_code not between", value1, value2, "goodsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNull() {
            addCriterion("goods_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNotNull() {
            addCriterion("goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameEqualTo(String value) {
            addCriterion("goods_name =", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotEqualTo(String value) {
            addCriterion("goods_name <>", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThan(String value) {
            addCriterion("goods_name >", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("goods_name >=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThan(String value) {
            addCriterion("goods_name <", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("goods_name <=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLike(String value) {
            addCriterion("goods_name like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotLike(String value) {
            addCriterion("goods_name not like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIn(List<String> values) {
            addCriterion("goods_name in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotIn(List<String> values) {
            addCriterion("goods_name not in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameBetween(String value1, String value2) {
            addCriterion("goods_name between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotBetween(String value1, String value2) {
            addCriterion("goods_name not between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlIsNull() {
            addCriterion("goods_img_url is null");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlIsNotNull() {
            addCriterion("goods_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlEqualTo(String value) {
            addCriterion("goods_img_url =", value, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlNotEqualTo(String value) {
            addCriterion("goods_img_url <>", value, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlGreaterThan(String value) {
            addCriterion("goods_img_url >", value, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("goods_img_url >=", value, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlLessThan(String value) {
            addCriterion("goods_img_url <", value, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlLessThanOrEqualTo(String value) {
            addCriterion("goods_img_url <=", value, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlLike(String value) {
            addCriterion("goods_img_url like", value, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlNotLike(String value) {
            addCriterion("goods_img_url not like", value, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlIn(List<String> values) {
            addCriterion("goods_img_url in", values, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlNotIn(List<String> values) {
            addCriterion("goods_img_url not in", values, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlBetween(String value1, String value2) {
            addCriterion("goods_img_url between", value1, value2, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodsImgUrlNotBetween(String value1, String value2) {
            addCriterion("goods_img_url not between", value1, value2, "goodsImgUrl");
            return (Criteria) this;
        }

        public Criteria andBarCodeIsNull() {
            addCriterion("bar_code is null");
            return (Criteria) this;
        }

        public Criteria andBarCodeIsNotNull() {
            addCriterion("bar_code is not null");
            return (Criteria) this;
        }

        public Criteria andBarCodeEqualTo(String value) {
            addCriterion("bar_code =", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotEqualTo(String value) {
            addCriterion("bar_code <>", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeGreaterThan(String value) {
            addCriterion("bar_code >", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeGreaterThanOrEqualTo(String value) {
            addCriterion("bar_code >=", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLessThan(String value) {
            addCriterion("bar_code <", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLessThanOrEqualTo(String value) {
            addCriterion("bar_code <=", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLike(String value) {
            addCriterion("bar_code like", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotLike(String value) {
            addCriterion("bar_code not like", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeIn(List<String> values) {
            addCriterion("bar_code in", values, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotIn(List<String> values) {
            addCriterion("bar_code not in", values, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeBetween(String value1, String value2) {
            addCriterion("bar_code between", value1, value2, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotBetween(String value1, String value2) {
            addCriterion("bar_code not between", value1, value2, "barCode");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdIsNull() {
            addCriterion("one_level_type_id is null");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdIsNotNull() {
            addCriterion("one_level_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdEqualTo(Integer value) {
            addCriterion("one_level_type_id =", value, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdNotEqualTo(Integer value) {
            addCriterion("one_level_type_id <>", value, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdGreaterThan(Integer value) {
            addCriterion("one_level_type_id >", value, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("one_level_type_id >=", value, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdLessThan(Integer value) {
            addCriterion("one_level_type_id <", value, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("one_level_type_id <=", value, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdIn(List<Integer> values) {
            addCriterion("one_level_type_id in", values, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdNotIn(List<Integer> values) {
            addCriterion("one_level_type_id not in", values, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("one_level_type_id between", value1, value2, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andOneLevelTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("one_level_type_id not between", value1, value2, "oneLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdIsNull() {
            addCriterion("two_level_type_id is null");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdIsNotNull() {
            addCriterion("two_level_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdEqualTo(Integer value) {
            addCriterion("two_level_type_id =", value, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdNotEqualTo(Integer value) {
            addCriterion("two_level_type_id <>", value, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdGreaterThan(Integer value) {
            addCriterion("two_level_type_id >", value, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("two_level_type_id >=", value, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdLessThan(Integer value) {
            addCriterion("two_level_type_id <", value, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("two_level_type_id <=", value, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdIn(List<Integer> values) {
            addCriterion("two_level_type_id in", values, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdNotIn(List<Integer> values) {
            addCriterion("two_level_type_id not in", values, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("two_level_type_id between", value1, value2, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andTwoLevelTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("two_level_type_id not between", value1, value2, "twoLevelTypeId");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardIsNull() {
            addCriterion("goods_standard is null");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardIsNotNull() {
            addCriterion("goods_standard is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardEqualTo(String value) {
            addCriterion("goods_standard =", value, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardNotEqualTo(String value) {
            addCriterion("goods_standard <>", value, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardGreaterThan(String value) {
            addCriterion("goods_standard >", value, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardGreaterThanOrEqualTo(String value) {
            addCriterion("goods_standard >=", value, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardLessThan(String value) {
            addCriterion("goods_standard <", value, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardLessThanOrEqualTo(String value) {
            addCriterion("goods_standard <=", value, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardLike(String value) {
            addCriterion("goods_standard like", value, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardNotLike(String value) {
            addCriterion("goods_standard not like", value, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardIn(List<String> values) {
            addCriterion("goods_standard in", values, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardNotIn(List<String> values) {
            addCriterion("goods_standard not in", values, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardBetween(String value1, String value2) {
            addCriterion("goods_standard between", value1, value2, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsStandardNotBetween(String value1, String value2) {
            addCriterion("goods_standard not between", value1, value2, "goodsStandard");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitIsNull() {
            addCriterion("goods_unit is null");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitIsNotNull() {
            addCriterion("goods_unit is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitEqualTo(String value) {
            addCriterion("goods_unit =", value, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitNotEqualTo(String value) {
            addCriterion("goods_unit <>", value, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitGreaterThan(String value) {
            addCriterion("goods_unit >", value, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitGreaterThanOrEqualTo(String value) {
            addCriterion("goods_unit >=", value, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitLessThan(String value) {
            addCriterion("goods_unit <", value, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitLessThanOrEqualTo(String value) {
            addCriterion("goods_unit <=", value, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitLike(String value) {
            addCriterion("goods_unit like", value, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitNotLike(String value) {
            addCriterion("goods_unit not like", value, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitIn(List<String> values) {
            addCriterion("goods_unit in", values, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitNotIn(List<String> values) {
            addCriterion("goods_unit not in", values, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitBetween(String value1, String value2) {
            addCriterion("goods_unit between", value1, value2, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andGoodsUnitNotBetween(String value1, String value2) {
            addCriterion("goods_unit not between", value1, value2, "goodsUnit");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Integer value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Integer value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Integer value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Integer value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Integer> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Integer> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceIsNull() {
            addCriterion("guide_origin_price is null");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceIsNotNull() {
            addCriterion("guide_origin_price is not null");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceEqualTo(BigDecimal value) {
            addCriterion("guide_origin_price =", value, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceNotEqualTo(BigDecimal value) {
            addCriterion("guide_origin_price <>", value, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceGreaterThan(BigDecimal value) {
            addCriterion("guide_origin_price >", value, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("guide_origin_price >=", value, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceLessThan(BigDecimal value) {
            addCriterion("guide_origin_price <", value, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("guide_origin_price <=", value, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceIn(List<BigDecimal> values) {
            addCriterion("guide_origin_price in", values, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceNotIn(List<BigDecimal> values) {
            addCriterion("guide_origin_price not in", values, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("guide_origin_price between", value1, value2, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideOriginPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("guide_origin_price not between", value1, value2, "guideOriginPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceIsNull() {
            addCriterion("guide_member_price is null");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceIsNotNull() {
            addCriterion("guide_member_price is not null");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceEqualTo(BigDecimal value) {
            addCriterion("guide_member_price =", value, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceNotEqualTo(BigDecimal value) {
            addCriterion("guide_member_price <>", value, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceGreaterThan(BigDecimal value) {
            addCriterion("guide_member_price >", value, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("guide_member_price >=", value, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceLessThan(BigDecimal value) {
            addCriterion("guide_member_price <", value, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("guide_member_price <=", value, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceIn(List<BigDecimal> values) {
            addCriterion("guide_member_price in", values, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceNotIn(List<BigDecimal> values) {
            addCriterion("guide_member_price not in", values, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("guide_member_price between", value1, value2, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideMemberPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("guide_member_price not between", value1, value2, "guideMemberPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceIsNull() {
            addCriterion("guide_cost_price is null");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceIsNotNull() {
            addCriterion("guide_cost_price is not null");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceEqualTo(BigDecimal value) {
            addCriterion("guide_cost_price =", value, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceNotEqualTo(BigDecimal value) {
            addCriterion("guide_cost_price <>", value, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceGreaterThan(BigDecimal value) {
            addCriterion("guide_cost_price >", value, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("guide_cost_price >=", value, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceLessThan(BigDecimal value) {
            addCriterion("guide_cost_price <", value, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("guide_cost_price <=", value, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceIn(List<BigDecimal> values) {
            addCriterion("guide_cost_price in", values, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceNotIn(List<BigDecimal> values) {
            addCriterion("guide_cost_price not in", values, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("guide_cost_price between", value1, value2, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andGuideCostPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("guide_cost_price not between", value1, value2, "guideCostPrice");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}